<?php
/**
 * Created by Rudy.
 * Author: Rudy
 * Date: 2020/11/28
 * Time: 23:18
 */

namespace App\Models\Constant;


class UploadConstant {

    //广告轮播图
    const TYPE_INDEX = 1;
    const TYPE_PARTNER = 2;
    const MAP_TYPE = [
        self::TYPE_INDEX=>'首页',
        self::TYPE_PARTNER=>'合作伙伴',
    ];

    const CLASSIFY_ID_ALL = 38;
    const CLASSIFY_ID_FREE = 40;

    const FILE_TYPE_PPT = 'ppt';
    const FILE_TYPE_PPTX = 'pptx';
    const FILE_TYPE_DOC = 'doc';
    const FILE_TYPE_DOCX = 'docx';
    const FILE_TYPE_PDF = 'pdf';
    const FILE_TYPE_ZIP = 'zip';
    const FILE_TYPE_RAR = 'rar';
    const MAP_FILE_TYPE_PIC = ['jpg','png'];

    const PPT_FILE_TYPE = [
        'ppt','pptx','zip','rar'
    ];
    const DOC_FILE_TYPE = [
        'doc','docx'
    ];
}
